<?php
class Zaloha {
	public $policka = array();
	public $radky = array();
	public $sloupce = array();
	public $oblasti = array();
	
	function __construct($policka, $radky, $sloupce, $oblasti) {
		foreach ($policka as $key => $value) {
			$this->policka[] = clone $value;
		}
		foreach ($radky as $key => $value) {
			$this->radky[] = clone $value;
		}
		foreach ($sloupce as $key => $value) {
			$this->sloupce[] = clone $value;
		}
		foreach ($oblasti as $key => $value) {
			$this->oblasti[] = clone $value;
		}
	}
}
?>